package com.lz.ovuola.util.threadlocal;

import java.io.Serializable;

public class UserContext implements Serializable {

	private static final long serialVersionUID = 2682232173035094484L;
	private Integer userId;// 用户id
	private String user;// 手机号或者第三方唯一id
	private String token; // 访问token
	private Long expiration; // 过期时间

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Long getExpiration() {
		return expiration;
	}

	public void setExpiration(Long expiration) {
		this.expiration = expiration;
	}
}
